package com.ruoyi.tongban.domain;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤记录对象 face_sign
 * 
 * @author caiyanshan
 * @date 2021-04-08
 */
public class FaceSign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录主键 */
    private Long recordId;

    /** 考勤用户ID */
    @Excel(name = "考勤用户ID")
    private Long userId;

    /** 考勤用户名称 */
    @Excel(name = "考勤用户名称")
    private String userName;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer userType;

    /** 签到时间 */
    /*@JsonFormat(pattern = "yyyy-MM-dd")*/
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signIn;

    /** 签退时间 */
    /*@JsonFormat(pattern = "yyyy-MM-dd")*/
    @Excel(name = "签退时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signOut;

    /** 当前年份 */
    @Excel(name = "当前年份")
    private Integer year;

    /** 当前月份 */
    @Excel(name = "当前月份")
    private Integer month;

    /** 当前日 */
    @Excel(name = "当前日")
    private Integer day;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long deptId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String deptName;

    /** 年级ID */
    @Excel(name = "年级ID")
    private Long gradeId;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradeName;

    /** $column.columnComment */
    @Excel(name = "班级ID")
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 人脸识别照片 */
    @Excel(name = "人脸识别照片")
    private String inImage;
    
    private String outImage;

    private List<Map<String, String>> signListData;

    private String searchTime;
    
    private Date searchTimes;

    private String userIds;
    
    public String getOutImage() {
        return outImage;
    }
    
    public void setOutImage(String outImage) {
        this.outImage = outImage;
    }
    
    public String getInImage() {
        return inImage;
    }
    
    public void setInImage(String inImage) {
        this.inImage = inImage;
    }
    
    public Date getSearchTimes() {
        return searchTimes;
    }
    
    public void setSearchTimes(Date searchTimes) {
        this.searchTimes = searchTimes;
    }
    
    public List<Map<String, String>> getSignListData() {
        return signListData;
    }
    
    public void setSignListData(List<Map<String, String>> signListData) {
        this.signListData = signListData;
    }
    
    public String getSearchTime() {
        return searchTime;
    }

    public void setSearchTime(String searchTime) {
        this.searchTime = searchTime;
    }

    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserType(Integer userType) 
    {
        this.userType = userType;
    }

    public Integer getUserType() 
    {
        return userType;
    }
    public void setSignIn(Date signIn) 
    {
        this.signIn = signIn;
    }

    public Date getSignIn() 
    {
        return signIn;
    }
    public void setSignOut(Date signOut) 
    {
        this.signOut = signOut;
    }

    public Date getSignOut() 
    {
        return signOut;
    }
    public void setYear(Integer year) 
    {
        this.year = year;
    }

    public Integer getYear() 
    {
        return year;
    }
    public void setMonth(Integer month) 
    {
        this.month = month;
    }

    public Integer getMonth() 
    {
        return month;
    }
    public void setDay(Integer day) 
    {
        this.day = day;
    }

    public Integer getDay() 
    {
        return day;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setGradeName(String gradeName) 
    {
        this.gradeName = gradeName;
    }

    public String getGradeName() 
    {
        return gradeName;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userType", getUserType())
            .append("signIn", getSignIn())
            .append("signOut", getSignOut())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("gradeId", getGradeId())
            .append("gradeName", getGradeName())
            .append("classId", getClassId())
            .append("className", getClassName())
            .toString();
    }
}
